<?php
# 微信公众号
return [
    [
        'name' => 'state',
        'title' => '是否开启',
        'component' => 'switches',
        'value' => 0,
        'extra'         => [
            'props' => [
                'activeValue' => 1,
                'inactiveValue' => 0,
                'activeText' => '开启',
                'inactiveText' => '关闭',
            ]
        ]
    ],
    [
        'name'          => 'appid',
        'title'         => 'APPID',
        'value'         => '',
        'component'     => 'input',
        'extra'         => [
            'props'     => [
                'type'  => 'text',
                'placeholder'   => '请输入APPID',
            ],
        ],
    ],
    [
        'name'          => 'secret',
        'title'         => 'Secret',
        'value'         => '',
        'component'     => 'input',
        'extra'         => [
            'props'     => [
                'type'  => 'text',
                'placeholder'   => '请输入开发者密码',
            ],
        ],
    ],
    [
        'name' => 'work_order_template_id',
        'title' => '待办通知模板ID',
        'component' => 'remote',
        'value' => [],
        'extra' => [
            'props' => [
                'file' => "app/ycMassage/remote/form/template-input",
                'template_id_short' => '52305',
                'keywords' => ['项目名称', '客户名称', '提醒时间']
            ]
        ]
    ],
    [
        'name' => 'order_state_template_id',
        'title' => '订单状态通知模板ID',
        'component' => 'remote',
        'value' => [],
        'extra' => [
            'props' => [
                'file' => "app/ycMassage/remote/form/template-input",
                'template_id_short' => '47662',
                'keywords' => ['产品名称', '订单编号', '客户名称', '付款金额', '支付时间']
            ]
        ]
    ],
    [
        'name' => 'service_state_template_id',
        'title' => '工单状态通知模板ID',
        'component' => 'remote',
        'value' => [],
        'extra' => [
            'props' => [
                'file' => "app/ycMassage/remote/form/template-input",
                'template_id_short' => '43354',
                'keywords' => ['工单状态', '项目名称', '工单号', '客户名称', '处理人']
            ]
        ]
    ],
    [
        'name' => 'refund_template_id',
        'title' => '退款成功通知模板ID',
        'component' => 'remote',
        'value' => [],
        'extra' => [
            'props' => [
                'file' => "app/ycMassage/remote/form/template-input",
                'template_id_short' => '56189',
                'keywords' => ['订单编号', '支付金额', '退款金额', '退款时间', '退款人']
            ]
        ]
    ],
    [
        'name' => 'examine_template_id',
        'title' => '审核结果通知模板ID',
        'component' => 'remote',
        'value' => [],
        'extra' => [
            'props' => [
                'file' => "app/ycMassage/remote/form/template-input",
                'template_id_short' => '44826',
                'keywords' => ['单据名称', '单据编号', '单据状态', '退回原因', '退回日期']
            ]
        ]
    ],
    [
        'name' => 'transferring_template_id',
        'title' => '转单结果通知模板ID',
        'component' => 'remote',
        'value' => [],
        'extra' => [
            'props' => [
                'file' => "app/ycMassage/remote/form/template-input",
                'template_id_short' => '55728',
                'keywords' => ['订单号', '修改项目', '客户名称', '出发时间']
            ]
        ]
    ],
];
